package cn.outsourcing.supermarket.vo;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 产品以及规格值对象
 *
 * @author gzkemays
 * @since 2021/11/3 21:04
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class ProductSpecificationVO {
  private Integer id;

  private Integer goodsId;

  private String goodsSpecificationIds;

  private String goodsSn;

  private Integer goodsNumber;

  private BigDecimal retailPrice;

  /** 成本 */
  private BigDecimal cost;

  /** 重量 */
  private Double goodsWeight;

  private Integer hasChange;

  private String goodsName;

  private String isOnSale;

  private Integer isDelete;

  private Integer specificationId;

  private String value;

  private String picUrl;
}
